import {Pipe, PipeTransform} from '@angular/core';
import {StringTool} from "../tools";

@Pipe({
  name: 'shortTime'
})
export class ShortTimePipe implements PipeTransform {

  transform(value: string, ...args: unknown[]): string {
    return StringTool.shortTime(value)
  }

}
